/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package entities;

import java.sql.Date;
import java.util.LinkedList;
 
/**
 *
 * @author theworldiwant
 */
public class Product {
    private int id;
    private String author;
    private String name;
    private String description; 
    private double price; 
    private String imagePic;
    private int views;
    private Date dateIn;
    private Date datePublished; 
    private LinkedList<Category> cs;
    private LinkedList<Tags> tags;
    /**
     * @return the id
     */
    public int getId() {
        return id;
    }
 
    /**
     * @param id the id to set
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name the name to set
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }
 

    /**
     * @return the price
     */
    public double getPrice() {
        return price;
    }

    /**
     * @param price the price to set
     */
    public void setPrice(double price) {
        this.price = price;
    }
 
 

    /**
     * @return the imagePic
     */
    public String getImagePic() {
        return imagePic;
    }

    /**
     * @param imagePic the imagePic to set
     */
    public void setImagePic(String imagePic) {
        this.imagePic = imagePic;
    }

    /**
     * @return the dateIn
     */
    public Date getDateIn() {
        return dateIn;
    }

    /**
     * @param dateIn the dateIn to set
     */
    public void setDateIn(Date dateIn) {
        this.dateIn = dateIn;
    }

    /**
     * @return the datePublished
     */
    public Date getDatePublished() {
        return datePublished;
    }

    /**
     * @param datePublished the datePublished to set
     */
    public void setDatePublished(Date datePublished) {
        this.datePublished = datePublished;
    }

    /**
     * @return the views
     */
    public int getViews() {
        return views;
    }

    /**
     * @param views the views to set
     */
    public void setViews(int views) {
        this.views = views;
    }

    /**
     * @return the author
     */
    public String getAuthor() {
        return author;
    }

    /**
     * @param author the author to set
     */
    public void setAuthor(String author) {
        this.author = author;
    }

    /**
     * @return the cs
     */
    public LinkedList<Category> getCs() {
        return cs;
    }

    /**
     * @param cs the cs to set
     */
    public void setCs(LinkedList<Category> cs) {
        this.cs = cs;
    }

    /**
     * @return the tags
     */
    public LinkedList<Tags> getTags() {
        return tags;
    }

    /**
     * @param tags the tags to set
     */
    public void setTags(LinkedList<Tags> tags) {
        this.tags = tags;
    }
    
}
